package domain.vo;

public class Result {
    public boolean success;

    public String message;

    public Object date;
    public static Result  failure(String message){
        Result result =new Result();
        result.message=message;
        return result;
    }
    public static Result  success(String message,Object date){
        Result result =new Result();
        result.success=true;
        result.message=message;
        result.date=date;
        return result;
    }
}
